package com.ds.infrastructure.hyperspace.common.flow.handler;

import com.ds.infrastructure.hyperspace.common.Container;
import com.ds.infrastructure.hyperspace.common.flow.FlowHandlerPipeline;

/**
 * @author  Weishaoying
 */
public interface FlowHandler {

    /**
     * Handler identifier
     * @return
     */
    String handlerName();

    /**
     * Init handler parameters
     * @param container
     * @param pipeline
     * @param handlerParams
     */
    void initHandlerParameters(Container container, FlowHandlerPipeline pipeline, String[] handlerParams);

}
